<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String basePath = request.getContextPath();
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>帕拉迪俱乐部 Paradise Club</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="<%=basePath%>/scripts/prd/prd.2.1920.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>/scripts/prd/css/slideshow.css"/>

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript"	src="<%=basePath%>/scripts/prd/js/prd-main.2.js"></script>
<script type="text/javascript"	src="<%=basePath%>/scripts/prd/js/checkIdNo.js"></script>
<script type="text/javascript"	src="<%=basePath%>/scripts/prd/js/changeImg.js"></script>
<script type="text/javascript"	src="<%=basePath%>/scripts/prd/js/jquery-1.10.0.min.js"></script>
<script type="text/javascript"  src="<%=basePath%>/scripts/prd/js/jquery.slideshow.lite-0.5.3.js"></script>
<script type="text/javascript"	src="<%=basePath%>/scripts/prd/js/miniui.js"></script>


	
<script type="text/javascript">
<!--

$(document).ready(function(){
	  // 菜单点击事件
/* 	  $("div#menu ul li").click(function(){
		  $("div#menu ul li").removeClass("avisited");
		  $(this).addClass("avisited");
	  });	 */  
	  
	  
	  // 左侧纵向菜单点击事件
	  $("div#subpage-body-left-menu ul li").click(function(){
		  var ind = $(this).index();
		  
		  $("div#subpage-body-left-menu ul li").removeClass("avisited");
		  $(this).addClass("avisited");
		  
		  var _sname="div#right-item:eq"+"("+ind+")";
		  $("div#right-item").addClass("right-item-hidden");
		  $(_sname).removeClass("right-item-hidden");
	  });	 
	  
	  $("div#newlist,div#actlist").click(function(){
		  if ($(this).hasClass("head-item-active")) {
			  return;			  
		  }
		  $("div#newlist,div#actlist").toggleClass("head-item-active");
		  $("div#newlist,div#actlist").toggleClass("head-item");
		  $("div#detail-left-news,div#detail-left-act").toggleClass("detail-left-news");
		  $("div#detail-left-news,div#detail-left-act").toggleClass("detail-left-hidden");
	  });	  
	  
	 // $("div#menu ul li a:even").addClass("avisited");
	 
    //  run();  //加载页面时启动定时器  

      	//alert (window.navigator.userAgent);
      if (window.navigator.userAgent.indexOf("MSIE") >= 1)
      {
          var IE1024 = "<%=basePath%>/scripts/prd/prd.2.1024.css";
          var IE1366 = "<%=basePath%>/scripts/prd/prd.2.1366.css";
          var IE1920 = "<%=basePath%>/scripts/prd/prd.2.1920.css";
          var IEother = "<%=basePath%>/scripts/prd/prd.2.css";
          ScreenWidth(IE1920, IE1366, IE1024, IEother);
      }
      else
      {
          if (window.navigator.userAgent.indexOf("Firefox") >= 1)
          {
              // file : // 如果浏览器为Firefox
              var Firefox1024 = "<%=basePath%>/scripts/prd/prd.2.1024.css";
              var Firefox1366 = "<%=basePath%>/scripts/prd/prd.2.1366.css";
              var Firefox1920 = "<%=basePath%>/scripts/prd/prd.2.1920.css";
              var Firefoxother = "<%=basePath%>/scripts/prd/prd.2.css";
              ScreenWidth(Firefox1920, Firefox1366, Firefox1024, Firefoxother);
          }
          else
          {
              // file : // 如果浏览器为其他
              var Other1024 = "<%=basePath%>/scripts/prd/prd.2.1024.css";
              var Other1366 = "<%=basePath%>/scripts/prd/prd.2.1366.css";
              var Other1920 = "<%=basePath%>/scripts/prd/prd.2.1920.css";
              var Otherother = "<%=basePath%>/scripts/prd/prd.2.css";
              ScreenWidth(Other1920, Other1366, Other1024, Otherother);
          }
      }

	var _w = (screen.width - 20);
	if (window.navigator.userAgent.indexOf("iPad") >= 1) {
		_w = (screen.height - 20);
	}
	if (window.navigator.userAgent.indexOf("XBLWP") >= 1) {
		_w = (screen.height - 20);
	}	
	var _helfw = _w / 2;
	var _ws = _w + "px";
	var _helfws = "-" + _helfw + "px";

	$(".main,.menu-bg,.subpage-header-bg,.subpage-body-bg").css("width", _ws);
	$(".main,.menu-bg,.subpage-header-bg,.subpage-body-bg").css("left", _helfws);

////////////////////////////////////////

	var slideshow_w = 947;
	var slideshow_h = 285;
	var slideshow_ps = 4;
	if (screen.width < 1366 && screen.width >= 1024) {
	  slideshow_w = 759;
	  slideshow_h = 230;
	} else {
		_w = screen.width;
/*  		if (window.navigator.userAgent.indexOf("iPad") >= 1) {
 			_w = screen.height;
 		}
 		if (window.navigator.userAgent.indexOf("XBLWP") >= 1) {
 			_w = screen.height;
 		}	 */

			if (_w < 1024 ) {
		  slideshow_w = 617;
		  slideshow_h = 187;
			}
	}

	
	$("#slideshow").slideshow({
		pauseSeconds: slideshow_ps,
		height: slideshow_h,
	    width: slideshow_w,
		caption: false
	});
	$("#slideshow1").slideshow({
		pauseSeconds: slideshow_ps,
		height: slideshow_h,
	    width: slideshow_w,
		caption: false
	});
	$("#slideshow2").slideshow({
		pauseSeconds: slideshow_ps,
		height: slideshow_h,
	    width: slideshow_w,
		caption: false
	});
	$("#slideshow3").slideshow({
		pauseSeconds: slideshow_ps,
		height: slideshow_h,
	    width: slideshow_w,
		caption: false
	});	

});

	-->
</script>
</head>
<body>
	<div class="subpage-header-bg">
		<div class="subpage-header">
			<div class="welcome">华丽人生从这里开始，欢迎进入帕拉迪俱乐部！</div>
			<div class="login">
				<ul>
					<li><a href="<%=basePath%>/singlelogin" id="login">登录</a></li>
					<!-- onclick="disp_menu(this,1)" -->
					<li><a href="<%=basePath%>/singlereg" id="reg" >注册</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="menu-bg">
		<%@ include file="prd.menu.inc.jsp"%>
	</div>